class circle():
    def __init__(self, radius):
        self.radius = radius

    def area(self):
        return 3.14 * self.radius * self.radius

    def perimeter(self):
        return 2 * 3.14 * self.radius

a_cir= circle(eval (input("请输入圆的半径：" )))

print("面积为：", a_cir.area())
print("周长为：", a_cir.perimeter())

r = input("请输入圆的半径：")
print(r)
print(type(r))
